function fig = minifig_fig()
% This is the machine-generated representation of a Handle Graphics object
% and its children.  Note that handle values may change when these objects
% are re-created. This may cause problems with any callbacks written to
% depend on the value of the handle at the time the object was saved.
% This problem is solved by saving the output as a FIG-file.
%
% To reopen this object, just type the name of the M-file at the MATLAB
% prompt. The M-file and its associated MAT-file must be on your path.
% 
% NOTE: certain newer features in MATLAB may not have been saved in this
% M-file due to limitations of this format, which has been superseded by
% FIG-files.  Figures which have been annotated using the plot editor tools
% are incompatible with the M-file/MAT-file format, and should be saved as
% FIG-files.

load minifig_fig

h0 = figure('Color',[0.8 0.8 0.8], ...
	'Colormap',mat0, ...
	'FileName','C:\mat_datac\minifig.fig', ...
	'Name','Mini EPSC Analysis', ...
	'NumberTitle','off', ...
	'PaperPosition',[18 180 576 432], ...
	'PaperUnits','points', ...
	'Position',[509 351 560 330], ...
	'Tag','EPSCAnalysis', ...
	'ToolBar','none');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0 0.501960784313725 0.501960784313725], ...
	'ListboxTop',0, ...
	'Position',[213.75 15 196.5 225.75], ...
	'Style','frame', ...
	'Tag','Frame1');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'Callback','EPSC_mini(2)', ...
	'ListboxTop',0, ...
	'Position',[348 20.25 54 18], ...
	'String','Analyze', ...
	'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0 0.501960784313725 0.501960784313725], ...
	'FontWeight','demi', ...
	'ListboxTop',0, ...
	'Position',[228 221.25 162.75 15.75], ...
	'String','Template Mini Analysis', ...
	'Style','text', ...
	'Tag','StaticText1');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.501960784313725 0.501960784313725 1], ...
	'ListboxTop',0, ...
	'Position',[12 15 196.5 225.75], ...
	'Style','frame', ...
	'Tag','Frame1');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.501960784313725 0.501960784313725 1], ...
	'FontWeight','demi', ...
	'ListboxTop',0, ...
	'Position',[29.25 223.5 162.75 15.75], ...
	'String','Standard Threshold Analysis', ...
	'Style','text', ...
	'Tag','StaticText1');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'Callback','EPSC_mini(1)', ...
	'ListboxTop',0, ...
	'Position',[143.25 19.5 54 18], ...
	'String','Analyze', ...
	'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.501960784313725 0.501960784313725 1], ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',[54.75 197.25 59.25 15.75], ...
	'String','Pre-event (ms)', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',[118.5 198 50.25 16.5], ...
	'String','2', ...
	'Style','edit', ...
	'Tag','Mini_std_pre');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',[118.5 177 50.25 16.5], ...
	'String','5', ...
	'Style','edit', ...
	'Tag','Mini_std_post');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.501960784313725 0.501960784313725 1], ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',[54.75 176.25 59.25 15.75], ...
	'String','Post-Event (ms)', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',[118.5 156 50.25 16.5], ...
	'String','300', ...
	'Style','edit', ...
	'Tag','Mini_std_amp');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.501960784313725 0.501960784313725 1], ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',[54.75 155.25 59.25 15.75], ...
	'String','Max Ampl (pA)', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',[118.5 135 50.25 16.5], ...
	'String','3.5', ...
	'Style','edit', ...
	'Tag','Mini_std_stdp');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.501960784313725 0.501960784313725 1], ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',[54.75 135 59.25 15.75], ...
	'String','Pos StdDev', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',[118.5 114 50.25 16.5], ...
	'String','3.5', ...
	'Style','edit', ...
	'Tag','Mini_std_stdn');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.501960784313725 0.501960784313725 1], ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',[54.75 114 59.25 15.75], ...
	'String','Neg StdDev', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.501960784313725 0.501960784313725 1], ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',[54.75 93 59.25 15.75], ...
	'String','Sign', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',[118.5 72 50.25 16.5], ...
	'String','25', ...
	'Style','edit', ...
	'Tag','Mini_std_bins');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.501960784313725 0.501960784313725 1], ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',[54.75 72.75 59.25 15.75], ...
	'String','# Bins', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',[118.5 51 50.25 16.5], ...
	'String','2000', ...
	'Style','edit', ...
	'Tag','Mini_std_lpf');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.501960784313725 0.501960784313725 1], ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',[54.75 51.75 59.25 15.75], ...
	'String','LPF (Hz)', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0 0.501960784313725 0.501960784313725], ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',[255.75 91.5 59.25 15.75], ...
	'String','LPF (Hz)', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',[319.5 90.75 50.25 16.5], ...
	'String','2000', ...
	'Style','edit', ...
	'Tag','Mini_temp_lpf');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0 0.501960784313725 0.501960784313725], ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',[255.75 111.75 59.25 15.75], ...
	'String','# Bins', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',[319.5 111.75 50.25 16.5], ...
	'String','25', ...
	'Style','edit', ...
	'Tag','Mini_temp_bins');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0 0.501960784313725 0.501960784313725], ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',[255.75 132.75 59.25 15.75], ...
	'String','Sign', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0 0.501960784313725 0.501960784313725], ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',[255.75 153.75 59.25 15.75], ...
	'String','Threshold', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',[319.5 153.75 50.25 16.5], ...
	'String','3.5', ...
	'Style','edit', ...
	'Tag','Mini_temp_thresh');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0 0.501960784313725 0.501960784313725], ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',[255.75 174 59.25 15.75], ...
	'String','Decay Tau (ms)', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',[319.5 174.75 50.25 16.5], ...
	'String','5', ...
	'Style','edit', ...
	'Tag','Mini_temp_decay');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',[319.5 195.75 50.25 16.5], ...
	'String','1', ...
	'Style','edit', ...
	'Tag','Mini_temp_rise');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0 0.501960784313725 0.501960784313725], ...
	'HorizontalAlignment','right', ...
	'ListboxTop',0, ...
	'Position',[255.75 195 59.25 15.75], ...
	'String','Rise tau (ms)', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.501960784313725 0.501960784313725 1], ...
	'FontSize',10, ...
	'ListboxTop',0, ...
	'Position',[119.25 93 50.25 16.5], ...
	'String',['  -  ';'  +  '], ...
	'Style','popupmenu', ...
	'Tag','Mini_std_sign', ...
	'Value',1);
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0 0.501960784313725 0.501960784313725], ...
	'FontSize',10, ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[319.5 132.75 50.25 16.5], ...
	'String',['  -  ';'  +  '], ...
	'Style','popupmenu', ...
	'Tag','Mini_temp_sign', ...
	'Value',1);
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.501960784313725 0.501960784313725 1], ...
	'ListboxTop',0, ...
	'Position',[15.75 17.25 63 17.25], ...
	'String','Display', ...
	'Style','checkbox', ...
	'Tag','mini_std_display');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0 0.501960784313725 0.501960784313725], ...
	'ListboxTop',0, ...
	'Position',[218.25 19.5 63 17.25], ...
	'String','Display', ...
	'Style','checkbox', ...
	'Tag','mini_temp_display');
if nargout > 0, fig = h0; end
